package com.foreknow.demo6;

/**
 * 实现类
 */
public class AImpl extends Person implements A,B,C {
    @Override
    public void eat() {
        System.out.println("eat......");
    }

    @Override
    public void run() {
        System.out.println("run......");
    }

    @Override
    public void jump() {
        System.out.println("jump......");
    }

    @Override
    public boolean login(String name, String password) {
        return false;
    }

    @Override
    public boolean register(String name, String password) {
        return false;
    }

    @Override
    public Person getPersonById(int id) {
        return null;
    }

    @Override
    public Person[] getPersonAll() {
        return new Person[0];
    }

    @Override
    public boolean deletePersonById(int id) {
        return false;
    }

    public static void main(String[] args) {
        A a = new AImpl();
        a.eat();

    }
}
